recursive routine

Noun
  1. a routine that can call itself
recursive routine
A programmer writes a recursive routine to calculate a factorial.